using System;
using System.Collections.Generic;
using System.Text;

namespace Dominio
{
    public class Familia
    {
        private int id;
        private IList<Patente> patentes;
        private String name;
        //Contructor used by hibernate
        protected Familia()
        {}

        #region Getters and Setters
        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }
        public virtual IList<Patente> Patentes
        {
            get { return patentes; }
            set { patentes = value; }
        }
        public virtual String Name
        {
            get { return name; }
            set { name = value; }
        }
        #endregion
    }
}
